package com.quickstart.user.dao;

import com.quickstart.entity.UserEntity;
import com.quickstart.user.form.UserForm;
import com.quickstart.user.model.UserModel;

import java.util.List;

public interface UserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(UserEntity record);

    int insertSelective(UserEntity record);

    UserEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserEntity record);

    int updateByPrimaryKey(UserEntity record);

    List<UserModel> getUserList(UserForm userForm);

}